#ifndef VECTORCLASS_H
#define VECTORCLASS_H

// 算法容器类

class Vector{
public:
    long result;
    virtual int caculate(int numA, int numB)=0;  // 纯虚函数
};


class Plus: public Vector{
public:
    virtual int caculate(int numA, int numB);
};


class Mul: public Vector{
public:
    virtual int caculate(int numA, int numB);
};


class Sub: public Vector{
public:
    virtual int caculate(int numA, int numB);
};
#endif // VECTORCLASS_H
